package com.gimi.cloud.bbp.manage.consumer.feign.hystrix;

import com.gimi.cloud.bbp.common.enums.ResponseCodeEnum;
import com.gimi.cloud.bbp.common.utils.reqhead.Response;
import com.gimi.cloud.bbp.dto.prod.EcProdCatModelDTO;
import com.gimi.cloud.bbp.dto.prod.EcProdCatModelValueDTO;
import com.gimi.cloud.bbp.manage.consumer.feign.ProdCatModelFeignService;
import org.springframework.stereotype.Component;

/**
 * 熔断器示例
 * @auther loongs
 * @date 2017/12/26  11:11
 */
@Component
public class ProdCatModelFeignServiceImpl implements ProdCatModelFeignService{
	
    @Override
    public Response getProdCatModelList(EcProdCatModelDTO prodCatModelDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response addProdCatModel(EcProdCatModelDTO prodCatModelDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response editProdCatModel(EcProdCatModelDTO prodCatModelDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response gotoEditProdCatModel(EcProdCatModelDTO prodCatModelDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response deleteProdCatModel(EcProdCatModelDTO prodcatmodeldto) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response realDeleteProdCatModel(EcProdCatModelDTO prodcatmodeldto) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response getProdCatModelValueList(EcProdCatModelValueDTO prodCatModelValueDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response addProdCatModelValue(EcProdCatModelValueDTO prodCatModelValueDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response gotoEditProdCatModelValue(EcProdCatModelValueDTO prodCatModelValueDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response editProdCatModelValue(EcProdCatModelValueDTO prodCatModelValueDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }

    @Override
    public Response realDeleteProdCatModelValue(EcProdCatModelValueDTO prodCatModelValueDTO) {
    	Response resp = new Response();
		resp.setResponseCode(ResponseCodeEnum.EXCEED_THE_LOAD);
        return resp;
    }
}
